﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gems
{
    public delegate void OnDataReceived(byte[] data);

    public interface IUnicastLink
    {
        void Send(string hostName, byte[] data);
        Task<int> SendAsync(string hostName, byte[] data);
        event OnDataReceived Received;

    }
}
